package com.gc.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.gc.server.dao.ApplyItemDao;
import com.gc.server.entity.ApplyItemEntity;
import com.gc.server.service.ApplyItemService;
import com.yf.service.impl.BaseServiceImpl;

/**
 * 申请明细Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Mar 10 11:17:45 CST 2020
 */
@Service
public class ApplyItemServiceImpl extends BaseServiceImpl<ApplyItemEntity> implements ApplyItemService {

    private ApplyItemDao applyItemDao;


    @Autowired
    public void setDao(ApplyItemDao applyItemDao) {
        this.applyItemDao = applyItemDao;
        super.setBaseDao(applyItemDao);
    }


    /**
     *
     *   @Override
     *     public List<UserVo> queryListVo(UserVo userVo) {
     *         return userDao.queryListVo(userVo);
     *     }
     *
     *     @Override
     *     public UserVo getVo(Long id) {
     *         return userDao.getVo(id);
     *     }

     @Override
     List<ApplyItemVo> queryListVo(ApplyItemVo applyItemVo){
            return applyItemDao.queryListVo(applyItemVo);
     }

     @Override
     ApplyItemVo getVo(Long id){
                return applyItemDao.getVo(id);
    }

     **/


    /**内部方法**/



    /**外部方法实现**/

    @Override
    public List<ApplyItemEntity> findByApplyId(Long id) {
        return applyItemDao.findByApplyId(id);
    }
}
